package com.group.eams.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group.eams.pojo.dto.AssetReturnQueryDto;
import com.group.eams.pojo.dto.FixedAssetDetailQueryDto;
import com.group.eams.pojo.entity.AssetReturn;
import com.group.eams.pojo.vo.AssetReturnListVo;
import com.group.eams.pojo.vo.FixedAssetDetailListVo;

/**
* @author 恩哲欣
* @description 针对表【asset_return(资产归还表)】的数据库操作Service
* @createDate 2024-10-29 16:09:34
*/
public interface AssetReturnService extends IService<AssetReturn> {

    Page<AssetReturnListVo> findAssetReturnList(AssetReturnQueryDto assetReturnQueryDto);

    //根据单号查询归还信息
    AssetReturn findByApplicationNum(String applicationNum);

    //查询归还资产详情
    Page<FixedAssetDetailListVo> findByQueryDto(FixedAssetDetailQueryDto fixedAssetDetailQueryDto);

    //根据单号删除归还信息
    int deleteByApplicationNum(String applicationNum);
}
